<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<% 
String path = request.getContextPath();
%>
<title>对账单</title>
<style>
body,td{
font-size:12px;

}
.STYLE1 {color: #990000}
</style>
<script language="JavaScript">
   document.oncontextmenu=new Function("event.returnValue=false;"); //禁止右键功能,单击右键将无任何反应
   document.onselectstart=new Function("event.returnValue=false;"); //禁止先择,也就是无法复制
</script>
<script language="javascript" type="text/javascript" src='<%=path%>/js/vnv/commonForManage.js' charset="UTF-8"></script>
</head>

<body>

<div align="center" class="STYLE1" style="font-size:18px;font-family:黑体">对账单</div>
<table width="100%" border="0" cellpadding="4" cellspacing="0">
  <tr>
    <td>账　号：<bean:write name="printBean" property="email"/></td>
    <td >&nbsp;</td>
    <td><bean:write name="year"/>年<bean:write name="month"/>月</td>
    <td>共<bean:write name="pageSize"/>页 第<bean:write name="page"/>页</td>
    <td>每页显示<%=request.getParameter("printPagesize") %>条</td>
  </tr>
  <tr>
    <td>户　名：<bean:write name="printBean" property="name"/></td>
    <td>&nbsp;</td>
    <td>币种:人民币(本位币)</td>
    <td>单位：元</td>
  </tr>
  <tr>
    <td>子账户：<bean:write name="printBean" property="subAccountName"/></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>上月余额：<logic:notEmpty name="printBean" property="balance">
    <ad:FormatPrase><bean:write name="printBean" property="balance"/></ad:FormatPrase>
    </logic:notEmpty></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bordercolor="#000000" bgcolor="#000000">
  <tr>
    <td width="93" align="center" bgcolor="#E7E7E7"><strong>日期</strong></td>
    <td width="122" align="center" bgcolor="#E7E7E7"><strong>交易编号</strong></td>
    <td width="134" align="center" bgcolor="#E7E7E7"><strong>交易类型</strong></td>
    <td width="115" align="center" bgcolor="#E7E7E7"><strong>资金用途</strong></td>
    <td width="74" align="center" bgcolor="#E7E7E7"><strong>收款额</strong></td>
    <td width="94" align="center" bgcolor="#E7E7E7"><strong>付款额</strong></td>
    <td width="108" align="center" bgcolor="#E7E7E7"><strong>余额</strong></td>
    <td width="153" align="center" bgcolor="#E7E7E7"><strong>对方账号</strong></td>
    <td width="146" align="center" bgcolor="#E7E7E7"><strong>对方户名</strong></td>
  </tr>
  <logic:iterate id="transHis" name="list">
  <tr>
    <td bgcolor="#FFFFFF" align="center"><bean:write name="transHis" property="beginDate"/></td>
    <td bgcolor="#FFFFFF" align="center"><bean:write name="transHis" property="transId"/></td>
    <td bgcolor="#FFFFFF" align="center"><ad:TypeChange typeId="ACTION_TYPE"><bean:write name="transHis" property="actionSeq"/></ad:TypeChange></td>
    <td bgcolor="#FFFFFF"><bean:write name="transHis" property="purpose"/></td>
    <td bgcolor="#FFFFFF" align="right"><logic:notEmpty name="transHis" property="gathering">
    <ad:FormatPrase><bean:write name="transHis" property="gathering"/></ad:FormatPrase>
    </logic:notEmpty></td>
    <td bgcolor="#FFFFFF" align="right"><logic:notEmpty name="transHis" property="payment">
    <ad:FormatPrase><bean:write name="transHis" property="payment"/></ad:FormatPrase>
    </logic:notEmpty></td>
    <td bgcolor="#FFFFFF" align="right"><logic:notEmpty name="transHis" property="balance">
    <ad:FormatPrase><bean:write name="transHis" property="balance"/></ad:FormatPrase>
    </logic:notEmpty></td>
    <td bgcolor="#FFFFFF"><bean:write name="transHis" property="email"/></td>
    <td bgcolor="#FFFFFF"><br /></td>
  </tr>
  </logic:iterate>
</table>
<div align="right">打印日期：<bean:write name="date"/></div>

  <div id="Noprint">
      <table width="100%" height="48" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td align="right"><a href="javascript:printit();"><img src="<%=path%>/images/printpaper/print.gif" width="90" height="40" border="0" /></a></td>
        </tr>
      </table>
    </div>
    
</body>
</html>
